package com.longcai.entity.homepage;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 秒杀商品
 * </p>
 *
 * @author LWK
 * @since 2019-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClyjSeckillGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
     * 秒杀商品id
     */
    private String goodsId;
    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;
    /**
     * 秒杀时间
     */
    private String seckillTime;
    /**
     * 秒杀数量
     */
    private Integer seckillNumber;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 零钱
     */
    private BigDecimal pocketMoney;
    /**
     * 秒杀开始时间
     */
    private String beginTime;
    /**
     * 秒杀结束时间
     */
    private String endTime;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
    /**
     * 商品名称
     */
    @TableField(exist = false)
    private String goodsName;
    /**
     * 商品描述
     */
    @TableField(exist = false)
    private String goodsDesc;
    /**
     * 商品原价
     */
    @TableField(exist = false)
    private String originalPrice;
    
}
